﻿
@model FingerPrint.WebUI.Models.SalesOrder 
                      
<div class="item">
    <h3>@Model.SalesOrderID</h3>
    @Model.SalesOrderNumber
    @Model.EmployeeID
    @Model.ReceivedDate


    @using(Html.BeginForm("AddToCart", "Cart")) {
        @Html.HiddenFor(x => x.SalesOrderID)
        @Html.Hidden("returnUrl", Request.Url.PathAndQuery)
        <input type="submit" value="+ Add to cart" />
        }

        <h4>@Model.SalesOrderID.ToString("c")</h4>
</div>
